package Streaming;

import java.util.stream.Stream;

/**
 * @Author: 蔡翔
 * @Date: 2019/10/6 7:54
 * @Version 1.0
 */
public class myTest {
    public static void main(String[] args) {
        String str = "my name is oo7";
        Stream.of(str.split(" ")).map(s -> s+"cx").forEach(s->System.out.println(s));
    }
}
